package org.zqy.domain;

import java.io.Serializable;
import java.math.BigInteger;

/**
 * 文章实体类
 * 
 * @author qyzhang4
 * 
 */
public class Article implements Serializable {
	private static final long serialVersionUID = 7776489006367722363L;

	/** id ,自动增长 */
	private BigInteger aid;
	/** 文章类型 */
	private int atype;
	/** 文章内容 */
	private String atxt;
	/** 保留字段 */
	private String aother;

	public Article() {
	}

	public Article(int atype, String atxt) {
		this.atype = atype;
		this.atxt = atxt;
	}

	// get、set方法

	public BigInteger getAid() {
		return aid;
	}

	public void setAid(BigInteger aid) {
		this.aid = aid;
	}

	public int getAtype() {
		return atype;
	}

	public void setAtype(int atype) {
		this.atype = atype;
	}

	public String getAtxt() {
		return atxt;
	}

	public void setAtxt(String atxt) {
		this.atxt = atxt;
	}

	public String getAother() {
		return aother;
	}

	public void setAother(String aother) {
		this.aother = aother;
	}

	@Override
	public String toString() {
		return "文章类型:" + atype + ";内容:" + atxt;
	}
}
